package com.zy.test.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 教室表
教师ID，教师号，姓名，年龄，性别，所教科目，联系方式，备注。教师id为主键
 * @TableName teacher
 */
@TableName(value ="teacher")
@Data
public class Teacher implements Serializable {
    @TableField(exist = false)
    private Integer pageNum;
    @TableField(exist = false)
    private Integer pageSize;

    /**
     *
     */
    @TableId(value = "te_code")
    private String teCode;

    /**
     *
     */
    @TableField(value = "te_name")
    private String teName;

    /**
     *
     */
    @TableField(value = "numberId")
    private String numberid;

    /**
     *
     */
    @TableField(value = "age")
    private String age;

    /**
     *
     */
    @TableField(value = "sex")
    private Integer sex;

    /**
     *
     */
    @TableField(value = "subject")
    private String subject;

    /**
     *
     */
    @TableField(value = "mobile")
    private String mobile;

    /**
     *
     */
    @TableField(value = "memo")
    private String memo;

    /**
     *
     */
    @TableField(value = "cre_date")
    private Date creDate;

    /**
     *
     */
    @TableField(value = "modi_date")
    private Date modiDate;

    /**
     *
     */
    @TableField(value = "teller")
    private String teller;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
